package com.xxx.feignclient;

import com.xxx.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient("BACKGROUND")
public interface BackGroundClient {

    @GetMapping("/background/dish/list")
     Result getDish(@RequestParam("id") Long id);

    @GetMapping("/background/package/list")
    Result getPackage(@RequestParam("id") Long id);
}
